# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-falconss
pkgdesc="Sony Xperia E1"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-sony-falconss mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="Wifi firmware"
	depends="firmware-sony-falconss"
	mkdir "$subpkgdir"
}

sha512sums="
26f819f9c86345732e603d675d0cb9eae3be705b690d35560e203163218c8b3fd04c83f88306d827a45f9465e625ab95014371002e62feafcd94e5e5c3538651  deviceinfo
"
